import { v4 as uuidv4 } from 'uuid'

export const getUUID = () => {
  let uuId_token = localStorage.getItem('UUID')
  if (!uuId_token) {
    uuId_token = uuidv4()
    localStorage.setItem('UUID', uuId_token)
  }
  return uuId_token
}
